package cn.com.headfree.base.service.impl;


import cn.com.headfree.base.dao.TIgwUserDao;
import cn.com.headfree.base.service.TIgwUserService;
import cn.com.headfree.entity.isc.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("tIgwUserService")
public class TIgwUserServiceImpl implements TIgwUserService {

    @Autowired
    private TIgwUserDao tIgwUserDao;

    @Override
    public User getLoginUserInfoByUserId(String userId) {
        return tIgwUserDao.getLoginUserInfoByUserId(userId);
    }

    @Override
    public User getLoginUserInfoByAccount(String account) {
        return tIgwUserDao.getLoginUserInfoByAccount(account);
    }
}
